<template>
  <page-header-wrapper :title="false">
    <a-card title="数据总览">
      <a-tabs v-model="tab" type="card">
        <a-tab-pane key="1" tab="打款统计"></a-tab-pane>
        <a-tab-pane key="2" tab="业务数量统计"></a-tab-pane>
      </a-tabs>
      <pay v-if="tab == 1"></pay>
      <business v-if="tab == 2"></business>
    </a-card>
  </page-header-wrapper>
</template>

<script>
import Pay from './components/Pay'
import Business from './components/Business'

export default {
  name: 'StatsData',
  components: { Business, Pay },
  data () {
    return {
      tab: '1'
    }
  }
}
</script>

<style scoped>

</style>
